package com.sunny.design.facade;

/**
 * @author Sunny
 * @date 2020/3/5
 */
public class SimpleTest {
    public static void main(String[] args) {
        User user = new User();
        user.setUserName("Sunny");
        user.setPassword("123");

        Register register = new Register();
        register.register(user);
        SendMessage coupon = new SendMessage("coupon");
        coupon.send(user);
    }
}
